/*
 * Copyright 2020 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import 'fonts';
@import 'kui--alternate';
@import 'charts';
@import 'colors';
@import 'inverted';

@import '@kui-shell/plugin-client-common/web/scss/Themes/mixins';
@import '@kui-shell/plugin-client-common/web/scss/components/Sidecar/mixins';
@import '@kui-shell/plugin-client-common/web/scss/components/Terminal/mixins';

/* color variables */
body[kui-theme='Carbon Gray90'][kui-theme-style] {
  @include PlexFonts;
  @include charts-dark;
  @include colors-dark;

  @include InvertDarkToLightGenerally;

  --color-confirm-danger: #da1e28;

  /* some carbon-overrides */
  .bx--modal-close__icon {
    fill: #ebebeb;
  }
  .bx--data-table {
    font-family: var(--font-sans-serif);
  }
  .bx--tabs__nav-link {
    color: var(--color-base06);
    border-bottom-color: var(--color-base02);
  }
  .bx--tabs__nav-item--selected:not(.bx--tabs__nav-item--disabled) .bx--tabs__nav-link {
    color: var(--color-base06);
  }
  .bx--tabs__nav-item:hover:not(.bx--tabs__nav-item--selected):not(.bx--tabs__nav-item--disabled) .bx--tabs__nav-link {
    color: var(--color-text-01);
  }
  .bx--modal-header__heading,
  .bx--modal-content {
    color: var(--color-text-01);
  }
  .bx--btn--secondary {
    background-color: #6f6f6f;
  }
  .bx--btn--danger {
    background-color: #ff3751;
  }

  /* input placeholder text */
  ::placeholder {
    opacity: 0.875 !important;
  }
}
